Added rspec testing.