Added inline class test
More class definition tests
Change ASTNodeCollector to implement QueryIterable