Fix tests for bb_component