extracted director and vm class in integration tests
consolidated hm1,2 integration tests to be a bit speedier