make test data modules independent of production
extract Inference module