Add unit tests for preprocessors