Test for write access.