public void saveChannelWithIdContainingUnderscore() {
final String uaid = UUIDUtil.newUAID();
final String channelId = UUID.randomUUID().toString();
final byte[] keySalt = "some string as a salt".getBytes();
final String endpointToken = CryptoUtil.endpointToken(uaid, channelId, CryptoUtil.secretKey("testKey", keySalt));
final Channel channel = new DefaultChannel(uaid, channelId, "_" + endpointToken);
final boolean saved = datastore.saveChannel(channel);
assertThat(saved, is(true));
}