[PATCH] tests: Don't leak cpu defs