Added ability to disable real sensor polling and GPIO functions for testing on non-Raspberry Pi machines.
Set TESTING_WITHOUT_HARDWARE to False.