More tests work:
* upgrade test target to XCTest
* change travis to use a custom build script because xctool is a pain in
the ass and won't build tests for some reason