function remove(path) {
        return testDomain().remove(path);
    }
Remove a directory (recursively) or file

@param {!string} path Path to remove
@return {$.Promise} Resolved when the path is removed, rejected if there was a problem