Init test environment
Manages a hibernate session with ThreadLocal