Additional tests for issue 3565