do test setup in a non-ui thread