add inner class test