test add and delete