Add test case for using funciton object in liverunner

This test case fails.