Test passes if SPAN and DIV are respectively surrounded by inline and block "math" text.

SPAN
DIV