There was a failing test for this, so I added this in. 

If you are writing tests, it's important that you maintain their integrity and keep them passing. So make sure you remove any deprecated tests or change them if the output of the method they are testing changes.

 If any of your tests are failing, then it cause the programmer to lose confidence in the tests. It then becomes much harder to infer intent. For example, is the method supposed to be written to get the test to pass OR is the test out of sync with the actual updated method intent?