container erase and unique, tests