Ryanrhee/xctest

Adds feature #115.
Note that Travis is complaining since it doesn't have the XCTest framework.