hs-test: handle error in config serialization