unit tests and validations to check that admin_only_write is honored