fixed deletion addition bug
added tests for deletion addition