migrate unit tests from SenTestingKit/OCUnit to XCTest (closes #222)