Bring dependencies up to date and fix tests accordingly. Closes #93.