updated toString in ECKey and KeyChainGroup, added helper methods and tests