update tests to check modified text