add tests task
fix definition and function name