Test for GrantKeyEffect