mock framework for testing CRUD operations