Move Merge test out of DataList

Apparently inner lets don't necessarily have unique names.

Same goes for (unused) scrutinee variables. Maybe a prepass should
be added to make these unique, so this is dealt with once and for all.