Fix tests for listFiles method name change and add tests for listFileInfo