core tests: add inner classes in internal tests