add testcase to ant build script
move inCheckpoint invalidation outside if(logger)
early exit for SimpleProfiler.resetProfile()