@Test
void testByteValueFromTagList() {

    final String allTags = "tag2,tag4,tag1,tag3";
    final String rolledUpTags = "tag3,tag1";
    final byte[] maskVal = RollUpBitMask.byteValueFromTagList(allTags, rolledUpTags);
    final byte[] expectedMaskVal = RollUpBitMask.fromTagPositions(Arrays.asList(0, 2)).asBytes();
    assertThat(Arrays.equals(expectedMaskVal, maskVal)).isTrue();
}