Test case for method calls inside classes

Test case showing that methods calls inside classes don't get visited.