Fix Bsmap tests