Added a test for preprocessing during regular parsing, added a check for failed parsing