Add test for 404 errors.