in src/api/sync.rs [1284:1294]
fn headers_with_token() {
let api = ApiBuilder::new()
.with_token(Some("token".to_string()))
.build()
.unwrap();
let headers = api.client.headers;
assert_eq!(
headers.get("Authorization"),
Some(&"Bearer token".to_string())
);
}