tests: minor fixes