Added tests for deploy