use rspec for generating tests