Add a test for detecting mobile device