[PATCH] test: Remove race between commands run in the same context