test: check for duplicate attempts to map the same grant

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