Test of aerogel counters for the KEDR detector