Optimize bfmatcher by passing macros.
Further optimize bfmatcher by passing macros.
Fix build error on linux.
Rename test case category and code clean up.
Capitalize macro namings.