adding test case for invalid scope name