bmp: fix test