Remove lockfile in spec test