put test in #ifdef