test case added for handling of text overflow in parsing