2.7.4 - fix delete bug and add test for delete