Test for Timeline::finishFn.

It works as expected.