Created option of having a global setup function

This is intended for the case where you need to truncate a test database
between each test run