Reflect recent changes in misc-js in tests