Test code updates
Multiple updates:
- generic syntax update to version 1.7
- fixes for private transfer handling
- fixes for segmented message handling
- changed system.out messages to log messages