improve slot state tests. better separation between SlotState and its serialization