Added malformed boundary tests.
Fixed number boundary validation.