Fixed returnFn invocation bug in TestStrategy function.