Added Rspec tests for Rest Auth System