testing eventhandlers