Add docker test harness
Exception granting improvements