Created tests to produce the bug