updated unit tests for validate_int and validate_float