implement some preliminary rspec tests