removes an unnecessary function call from the tests