Adding a test for #2613