Revise and add tests for more method stuff.
Only look in parent PHP scope if one exists.
Fix test and give explanation.