started adding unit tests with rspec