Added snippet for preprocessor conditional compiling if in unit tests