Fixing a test for None on both variables in body and html