Feature/package updates

Bump all the dependencies to the latest versions.

Fix problems related to sinon throwing erros.