Fix unit test after bfw framework update.