Update dependencies.
Add functional tests.