added test_for_bad, replacing which_are_bad