tests/qtest: add assert to catch bad features