Add test for `export` namespace, fix require