tests load event handler for it