Fix LockFile for 2.4 in tests