Changes done for detecting Mobile Device Properties.

Incorporated the test in testsuite.