Add test case for TypeError
Catch TypeError in validators.Number