set up test code to add writing