GetBlockChecked always returning genesis block?
Ok, so the code is just fine as Andrew assumed. 
It was odd to me that first several blocks are the same. They all have one transaction and the same output value of 50BTC, but according to site https://blockstream.info/testnet/, where you just type a block height in search bar and you can see all transactions inside of resulting block, this is correct.