Tests for VBAM and BAM