add test program for low memory bam header class