Replace -[XTRepository waitForQueue] with -[XTTest waitForQueue:]