ruby/rails: make devise testable