tests: fix warnings