LibTaskManager: failed autotest

Hi,
I have been trying to setup a Dev environment and get rid of the #493724. I cloned the plasma-workspace repository with the same tag as the version installed in my KDE Neon distribution, built it and ran the tests via make test command from the libtaskmanager folder.
However, the test tasksmodeltest is constantly failing with the following error:

FAIL! : TasksModelTest::test_moveBug444816() Compared values are not the same
Actual (++ ++rowCount) : 3
Expected (model.rowCount()): 1
Loc: [/home/ak/projects/plasma-workspace/libtaskmanager/autotests/tasksmodeltest.cpp(124)]

Are these tests supposed to work at all? Is there a way to fix this?