Fixing failing test cases for #25
Upgrading dependencies to the newest available versions