completed insertion/deletion case; todo: write test cases