summing up investments before testing, still fixing thinks there is full investments bug