Modified testapp sensor test to support future hardware

Reviewed by Bryan Higgins <bhiggins@blackberry.com>