moved setup and teardown to separate module