Validating! and unit testing of models