fix tests and update libs