             XCTAssert(pastries.count != 0, "pastry count should not be zero");
             self.done = true;
         })
-        self.runWaitLoop(15);
+        self.runWaitLoop(30);
     }
     
     func testPastriesFromDateToDate() {

            XCTAssert(pastries != nil, "pastries is nil");
            self.done = true;
        })
        self.runWaitLoop(15);
    }
    
    func testPrevious5PastriesFromDate() {

class PastryTestTests: XCTestCase {
    var done: Bool = false;

    override func setUp() {
        super.setUp()
        self.done = false;
