Determination of optical density by a single-chamber testing