Tests for user merging and support for merging profiles