Modified the testing framework to allow re-creating of the block-chain. Prevents problem with existing testcase (miner_test.cpp) that breaks the block-chain.