[ALOY-362] add call chaining, update test
Merge pull request #407 from appcelerator/ALOY-362-2

[ALOY-362] Add call chaining