fix ut fail when there's no test directory