test CanRead/CanWrite