Add a simple loopback grant mapping test

Signed-off-by: David Scott <dave.scott@citrix.com>