test removal of __dir__