Bad test_mode value checking.