added histogram diff to test

added histogram diff