Fix preprocessor options in test file