Added test to issue 560