Fix broken tests

Tests were failing because of deprecated passing of $env to Dancer constructor.