Better Junit test; wrtieTrostocket now public in cccocntnector.

writes  less penis.,