[PATCH 1/5] reg/tests: Only try querying an invalid key once