Testing mergeability