Refactoring parameter names. Adding a test for results reporting