dp for test comparisons