test the diff command