Tests of a silica aerogel Cherenkov counter