set optimization level to 0 just in case.
fixing tests.