added specs for setting mouse events