Fixed test to work with an explicit operator bool