Added test for #6