fix test which was always returning False

Because the value was an integer, and an integer is never True.