add ifdef around tests