change the test violating inner class syntax
add inner class support to parser