add comments to unit test code
add memory and file streams
change bool operator to ! operator and fix TestSensor
remove obsolete fnc
add unit tests for Sensor