make PreprocWrapperCaret test more general