add tests for onMouseUp