Tests for city jobs are usually given every four years, and hopefuls are placed on a list in which they are ranked by their scores. But the city extended the list from the 2007 sanitation test twice, because of a hiring freeze several years ago and to give candidates on the list another chance to get hired.