Add tests for different compilation options