Add tests for getattr() and hasattr() with non-string args
2 files changed