[TEST] - fix DefaultUnifiedRepositoryTest

@rmansoor please review the tests. Plus there is fix for encoding Node properties name, two legacy classes removed. I had to cut the test to pieces because of checkstyle 2000 lines rule.