Tests for compose-sets. Fixed syntax error for valid?