add tests for showSpan/showInput
add test for preventSelection
add test for onMouseDown