Add sensor test and full test.