Fix call to hasDefine in tests.