fix test counter