pre-process tests