Merge pull request #134 from ARMmbed/test_suite_import_export-exported_length

Fix bug in test_import_export with non-canonical input