add unittest recreating prod failure case and change node merging to fix issue