tests for bug #34380