I believe I figured it out. I added the genesis block, but I was mistakenly trying to add transactions to the genesis block instead of adding them to the next block, which would be the first block after the genesis block. The issue was that I had the next block set with an index of 1 and a previous hash of 0. Once I switched to using a block index of 2 and a previous hash of the genesis block, all my tests passed.