randomize lib loading tests