rpi unit test