add integration tests for bug GH-8753