Add tests for user validations

I added two very basic tests for user validations and refactored the tests a bit to include a before :each do.