remove the dependency on gotest completely from core.