Timer class and nice reduction kernel, some tests for it's correctness