Add more tests to check that the math is still in the page.  Should resolve issue #730 (though we don't have their page and can't really test it).
Remove redundent check (if span is null, then div will be null, so only need to check for div).  Issue #730.
Merge branch 'issue730' into develop.  Issue #730.