A goodness-of-fit test for ARCH(∞)ARCH(∞) models