Revert "Revert "test case & makefile for bf""

This reverts commit 01efa4360d3e805dc56ed46bdb5b2496214fa0c4.