Writing as a learning tool: Testing the role of students’ writing strategies