Refactor rspec test output