use rspec for testing