Test for hadoop counters

Reused test classes from LocalCounterTest