added test which exposes directory listing bug