Add tests for JSON import and export

Currently, our added import and export code is untested. We should add unit tests.

  • Tests for the JSON export functionality (!11 (merged))
  • Tests for the JSON import functionality
  • Improve coverage by expanding fixtures
Edited by Felix Blanke