add prints to the write test