Task 1 - test entity name uniqueness validator, re-write entity
declaration test in Java