test last ID