Add tests for integer type validator