added initial rspec tests