add test to make sure format_sci doesn't add \ensuremath

see #631