Serialization and public slots tests