test orientation change event handling