fix some more tests and remove old AST parser