Fix project setting warnings and convert to XCTest