WIP: More tests
Warn when export declaration used outside of global scope.