Make PolicyManager contracts tests resilient to timing issues

Change-Id: I137052a6ed3bd5398c562a029846cf5104aae331
Signed-off-by: Amit Bose <bose@noironetworks.com>