fixed cpp spatial pooler test