enhanced selfTest, fixed bitcoin client creation