adds test for negative probability