inplace dot left and right, tests