Fix test with pecan>=0.6

Change-Id: I2a439e0aeca00a591db87a275ae7a81da973f571