refactored required validator specs

and added test to accept '0' as a valid required value