Minor changes on tests.
Implement import global object and module as closure.