The additional capacitance on the Vm pin is a good idea, but I don't think that is the cause of the problem. Yes, I mounted it correctly, before i connected the motor i tested the outputs and tested the PWM with LED. All seemed to be fine, so I proceeded with connecting the motor, which killed the DRV.