Fix touch device test. Fixes #157