test: add test for extracting function name in inspect_repl.js
This PR adds test for extractFunctionName
function in lib/internal/debugger/inspect_repl.js
and improves code coverage. That function previously was untested. ref
I found some issues serializing a function name. I'll fix them in other PR.