Do we have unit tests that cover this function?