Added all config
Fixed bug: convert date to str
Updated encoding tests