commitdiff: fix test and set sidebyside param check to output