test bulk writing