Fix wrong parent in cosmo-test