make unit test cases succeed in stand-alone mode