Fix bad check in test
Merge pull request #389 from mhaskel/fix_test_374

Fix bad check in test