fix compilation of tests