testing the counter setup