Add rspec test method