Improve performance when running tests / fix function replacement

With the intention of improving game load speed a bit.  I noticed that tests were not clearing the symbolmap.

Also probably improves the interpreter speed, but only slightly.

-[Unknown]