Fix TestBlockReaderLocal test, modify MiniDFSCluster to avoid hitting issues with deprecated methods