Fix to delete page bad status test. Error message is different after refactor.