Adding tests to Histogram2D, still need to check if every functions are tested