making workingDirectory null for sessionfactory unit tests, so that they dont exit midway.