(#3171) - fix bad test case
(#3171) - cleanup error.js