WIP. crashes. not setting testInstances properly b/c initialize instances doesn't account. About to add input arg to initializeInstances.