fs.rename and automate testing