implemented tests for histogram equalization