Added tests for Loop and CallFunction actions.