Problem: Test files still use function!. Solution: Remove the exclamation mark. Fix overwriting a function.
Problem: Using exists() on a funcref for a script-local function does not work. Solution: Translate <SNR> to the special byte sequence. Add a test.