fix parse/serialize test