Merge "Add unit tests to WMS#setInTouchMode"