Updated class function bench tests.
Added variable type checking bench test.