It looks to me like you're testing the configuration of the default cache here (since it's very unlikely that the topology cache will be defined in the xml configuration). I don't think it's worth testing that, because defineConfiguration will overwrite it anyway.