moved the event delegate out to a seperate class and named unit test