Improve the unit test to check for content instead of status.