added CorrelationsObjectTest that tests both sparese and dense