Failing test case for permissions api