Added unit tests for library import and export.