added another test case, and fixed caveman string bug