Update rspec test cases