Create test to ensure view model is retrieved from event