Fix scalarmult test.