New test for getGrantType to test for exception