move Relation#merge tests into separate file.
tests for merging Relations of different classes.