new regression test for __getattr__