Add a test-case for GH #13825