Fix variable parsing: foo.bar(1, "two", three)

Added test for function call in second on later part of variable (parts are divided by ".' or '->').