Added test for 'finish'.