Added test for write access