Added a quick test to the writer.