RegexpParser: added more assertions to tests