unit test for NNAlgaeSensor