Changed choose_arm to static and wrote tests for it.