Make scalarmult test shorter.