changed test counters to double