Add the load function to the global environment
Add the load function test
Refactoring