Junit tests for versioning