Fix bug #5502 - test