Migrate to XCTest.
Update OS X deployment target.
Update OS X deployment target.
Update test script.
Fix to fail execute tests with `⌘+U` on simulator 6.1 or earlier.
Remove dead code.