You can use the Sensor Diagnostic Tool to test your driver, firmware, and hardware functionality.

The tool invokes the Sensor and Location API to test:

Data Retrieval
Event handling
Report intervals
Change sensitivity
Property retrieval.

Read more at Microsoft.