added basic Rspec tests