Description
The initialization of the BlockScanner can be simplified by moving out test hooks. Tests can be modified to use configuration only.
Also we need an additional test case to verify the behavior with positive, negative and zero values of dfs.datanode.scan.period.hours for compatibility.