added guard
devise test helpers, and my first rspec test.