added test that checks the bug