fix parser test for intermediate form
added new tests and changed | | => |