add setup and teardown functions for test suite