added option test to preprocess to check inputs at first batch