Added a test for delete container with promise instead of callback.