Update Miner.cs

File prepared for tests