spec insert and delete