Refactoring the data science solution

This should be an assertion about behavior. `it "raises an error when no keys are provided"`