adding basic lang export
making sure we have a key before we try to split it
making export more mockable
fixing tests.
Merge branch 'feature/export'

* feature/export:
  fixing tests.
  making export more mockable
  making sure we have a key before we try to split it
  adding basic lang export