fix(test): null value encoding safe

There is two failed test. The reasons is try to fillString with a null encoding.