ADAPTIVE CONCEPTS AND OPTIMIZATION APPROACH TO DESIGN OF TESTBENCHES AND NODES FOR WIRELESS SENSOR NETWORKS