Automated testing; fixed __getattr__