use Kelp::Base -strict;
use Kelp::Test;
use Test::More;
use HTTP::Request::Common;
use [% name %];

# Create an application object
my $app = [% name %]->new( mode => 'test' );

# Feed it into a test object
my $t = Kelp::Test->new( app => $app );

# Send a GET request to /home and test the response
$t->request( GET '/' )
  ->code_is(200)
  ->content_type_is('text/html')
  ->content_like(qr/Welcome to the Kelp web framework!/);

done_testing;