Update to dependencies latest versions
Add more unit tests