Tests for serializable objects