Small refactor

tests is now a subpackage of linfir.mdtex