add docstring to test setup, and move to the top