implemented test task