test.posterior: Checks posterior probabilities are monotonic.
Description
The posterior probability of belonging to a particular component should fall to zero monotonically
as the signal increases or decreases away from the component mean. This function checks for
posterior distributions that do not have this property.