Add LocalVariable tests.
Fix class type parameters.
Fix class type parameters emacs output.