TST: Add test with python flag -OO.