Merge updated compare and test compare