unit tests: fix compilation