Adds rspec for testing.