Adding more test cases.
Adding more complex text cases. All passes test.