Added rspec for testing.