qwert(ui)" should return ( qwerty"(ff) should return " qwer)()(" should return )