more tests including serialization