Serialization tests for conditions
Conditions defined and their serialization implemented and tested.