test for private function