Add Bitcoin tests and component tests