Strengthen tests for dense_array