prosecuting officer exam