Add pre-test action to integration tests