unit test Finish