Replace sample code with a simple event handler test.