Fixed strict mock failures to account for permissions check