fix unit tests for more stringent module import/export