There are no asserts in this helper function. Hence the tests using it are not testing anything.