Py->PHP: Test passing objects by reference and value.
Simplify some tests.
Py->PHP: test strings by value and reference.