NXP-14898 MemoryDirectorySession allow to create entry even if it's in read-only mode

Update test to check read-only on memory directory