Write basic test for all crud operation [create, retrieve, update, delete]