added more tests for CounterSignal, changed value type from int to long