Test-suite for bug #3259.