Add test for loadall.