Convert to XCTest

Fixes #27.