Code to make doing Pebble unit tests possible.