test after_id query