sub pre_test : Test(setup) { # add objects to the database } sub get_objects : Tests { # get the objects and test 'em } sub post_test : Test(teardown) { # clean the database }