Add more tests for delete in tree model