Altered integerish test to use a Class

The validator will try to cast whatever it is fed to_i. Unfortunately
in 1.8.7 Symbol supports to_i.