Create slightly more sophisticated unit tests for merge
Convert merge reverse translation build to own function.