add static function testing and coverage logging