test: extract input data into setup