rspec tests for business methods