ordering by id, fixed broken test