coerce int in test