add integrarion test for delete