Build: Fixed test task
(cherry picked from commit 27f835bbce065b453f793e573199b585c9fc674b)