added optional setup/teardown methods to unit tests