updated test 404 for python 3