improve unit testing of export import