Manual test for issue 6857