Add 404 check to tests.