set up hibernate test env and pass test