setting java7 compilation level
Adding extra tests to show lostupdates. Refactoring tests