Add test for PHPUnit sensor.