Tests for add, edit, delete