Fix aggregated resource test.