Fixed some permissions tests
Fixed occ tests