testing CRUD operations