write_test2 added.