tests working for occurrence probability.