tests: fix inconsistent test