update tests
implement magicString.clone()