Added API deal create and unit test