Added tests for addScalar() and multiplyScalar().