tests: fixes