[cache] add a small config test