added basic rspec tests