Add test case for using funciton object in liverunner