remove redundant module private function from testfiles