Added new 'test_blockchain' target and other minor changes.