Added DOM event tests