write rspec tests for context 'expected results'