reverse.js file save test fix