Added tests for rspec