Test of level densities with proton resonances.