improve modular input tests
nit