Adding extra tests to show lostupdates. Refactoring tests