add some layer equality checkes to unionizer test. might be useful in common but we'll see