Add test cases for checking failures in bmark_add