Python 3 fix for test

reload is no longer a builtin in py3.