Fixed the parser functional test

It was comparing to the wrong output file. There might be something
broken in the functional test script for loading golden files that do
not exist. Check this.