Cleared up expectations via if/unless in parseText function