fixed tests and framework for preprocessor test