Proper integration test of CRUD