finished tests for probability calculations