Add test for BAM handler without caching