fix tests and handle linkedin cancel