Added merge.unique and tests