PTC 20141111 Refactor to XCTEST from OCTEST and changes required to build for testing.
PTC 20141113 Commit changes for XCTest to experimental/removeAFN branch