FBTest: fix commandline/api test