Added unit tests for getattr/hasattr/setattr
Substrings can now be tested via 'in' operator like in Python