fixed counter test
fixed string formatting