latex.default: added tests, fixed insert.bottom