Added WeaveByToString test case (refactory to avoid code duplication).