test load logic