change load test to test load function