ref #5752 Fix dependencies for integration tests