Adds numeric validation rule and updated unit tests