Add tests for float validator