During tests, the compiler is also reset to avoid insane cascade errors.
Added local var support to methods, added tests, and fixed a bug in the
spec type lookup process.