added next prev and num results tests