Fix multithreading for Hive tests

The initialization should happen once for the class and not for each method
invocation. Otherwise, the initializations will stomp on each other.