Add lockfile to prevent duplicate test generation