CMGT-2 Fix test to associate an application with an event