Three rspec tests after refactoring.