(PUP-30) Add tests for epp parser and make them pass
This adds tests for parsing epp. A typo was corrected when checking
for unbalanced <% %> at the end of the epp input. This caused error
not to be raised.
(Tests should have been included in an earlier commit).