added test verification for 'this' in event callbacks