init parser tests. Changed AmParser to AmClassInfo
added parser tests
refactor related to ClassInfo