Added test for scalar multiplication