update of junit tests and added logs

This should execute at least gate-set with success and let us know if there is any bug, 
now connection establishment is done once.