Added some unit tests for API and DELETE services API