NSError *error = nil;
    [fm removeItemAtPath:tmpDir error:&error];
    XCTAssertTrue(error == nil, @"couldn't remove %@:\n%@", tmpDir, error.localizedDescription);