added check for listing files in http and https publish tests