cleanup: make compiler tests use new Parser.frontEnd method

instead of having a bunch of copy/pasted code. yay!