The tests were previously covering a shared function that's now only used once, so I've inlined it and merged the tests together with a common naming that's consistent with the code under test.