Add a getattr test.
Revert php->py calling to pass by value and wrap whatever we are given (instead of always a reference).
Add a test for a possibly incorrect behaviour.