Use `qual_for` in tests