fixed Python 3.4 unit test error