Developing and Testing of Software for Sensor Networks