Clean up permissions. Remove getRandSize().
Replace calls to getRandSize(). Probably let simpletest framework handle this later. randomName() probably to go as well.