add lockfile in test and it passes yay