Fix build of testcases after commit 0f10b21719e1b0d9683a142f0a7105e65f095694