integration_test: modularize