Fix the tests that verified the breach-of-contract for __getattr__