added small serialization tests