NSRunLoop-PerformBlock wrapper for XCTest async testing.