Actual benchmarking

This PR does a couple things:

- Adds JMH benchmarking.
- Provides common interface to all kinds of tests, which should make it easily extendable with additional tests.
- Makes the test measure only what's actually important, not the kbase creation and/or session disposal.