createObjectGraph() ready for testing