Parameterized implementation of XCTestCase.