Adding unit tests for the 'finished' and 'completed' events.
Adding test to verify that the 'completed' tasks includes the task that was completed as an argument.