This commit adds tests to ensure HaveBlock works properly with blocks on the main chain, a side chain, orphans, and missing blocks.