added checking of wait's idempotence to instance tests