public function testPath()
{
$app = $this->getApp();
$app->run();
$this->expectOutputRegex('#Redirecting to /bolt/#');
$basic = 'homepage';
$this->assertEquals('/', Library::path($basic));
$this->assertEquals('/pages/content', Library::path('contentlink', ['contenttypeslug' => 'pages', 'slug' => 'content']));
$query = 'testing=yes';
$this->assertEquals('/search?testing=yes', Library::path('search', [], $query));
}