Test bool and stringl serialization