Testing touch detection