Add an overload of the existing function which can be easily tested in the unit tests and add a trivial new test for it.