Testing devise

added rspec tests. merged with features