Completed test to reproduce the issue