started writing Rspec tests