Tests for Custom404Mixin.  Some other pep8 fixes in same file.