Adapt dir() tests, because now Str is returned