UT through valid get_last_n_above_id