mergeAttributes Method test sample