Added tests for deploy-index task