Add unittest for issue 13809