add regression tests for permissions and extents