Fix empty width math. Add tests for it.