fixed convert_option testcase to works on python 2.6.

using unitest2.