A more better test 

#file:t/whatever.t
#-----------
use strict;
use warnings FATAL => 'all';

use Apache::Test qw(:withtestmore);
use Apache::TestUtil;
use Test::ApacheMechanize;

plan tests => 1, need_apache 2;

use_ok( 'Apache::MyModule' );

my $mech = Test::ApacheMechanize->new;

$mech->title_like(qr/My title/, "homepage");