Fixed failing unittests after refactoring of Starcounter.XSON classes.