tests/bench/var: Add tests for class/instance var access.

Also compared with method abstraction for accessing instance vars -
it's more than 3 times slower than accessing var directly.