make some minor fixes to the parser test cases, such as using afterLoadX...

...ml everywhere and making sure done is used in all async tests