Add a test class for the join (or merge) operation