change variable chooserandommove from chooserandommovefromlist
add doc tests