Test write access