Added FunctionRunnerTest.

Change-Id: I087e7e5252bf7d3080e41af3e36caf9248137b7a