Fixing redable content's status code issue

need help in writing tests.