Fixed serialize test