Fixed 404 bug in production templates
diff --git a/t/basic.t b/t/basic.t
index 7810313..2bdd9cf 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -4,9 +4,17 @@
use Test::Mojo;
my $t = Test::Mojo->new('Kalamar');
+
+$t->app->mode('production');
+
$t->get_ok('/')
->status_is(200)
->text_is('title', 'KorAP - Corpus Analysis Platform')
->text_is('h1 span', 'KorAP - Corpus Analysis Platform');
+$t->get_ok('/huhuhuhuhu')
+ ->status_is(404)
+ ->text_is('title', 'KorAP: 404 - Page not found')
+ ->text_is('h1 span', 'KorAP: 404 - Page not found');
+
done_testing();