add tests for bb