testing: small code update from slim

Change-Id: Iceead1278403c28e7afd5e93d9c63280818a24eb