Using rspec for testing