Test fixes to sparse_center_data and center_data