Fetching a not-existing static page

use strict;
use warnings;

use Test::More tests => 1;
use LWP::Simple;

my $home = get 'http://localhost:8080/xx';
ok $home, 'There is a response';

Fetch a page and check if there is response.

$ perl static_bad.t
not ok 1 - There is a response
#     Failed test (static_bad.t at line 10)
# Looks like you failed 1 tests of 1.