Added scoped uniqueness constraint to directories

- current spec status: 62 examples, 0 failures