Test most of PurgeCounter class

Everything but exception handling and the increment method.
Add test for CounterRecord.__str__, since PurgeCounter uses it