LPS-50077 Add tests for hasResourcePermission