test incrementing counter