Add debugging output
Move to mochaTest for parser