test_for_bad python added