tests unserializer