Can use main and test SessionFactory configurations