fix BIAB import
add unit test for BIAB