test ef write