Bitstream tests