add unit test for private static inner classes. Issue #6