parser now fail fast if no next event left, some additional testcases added