Added unit tests for function "load".