Added test that passes for #979