Added tests for deletion.