Refine rspec test cases 2