FORGE-1551: Created tests to reproduce the bug. They all pass at the
moment.