ObjectiveCEnumStateTests adopted to XCTest.