add tests for multiply_by_scalar and coords