Added htmlfile tests