I can confirm. My cousin never taught his dog to attack someone, Oz is very sweet and playful.  One day, as a joke, he said "Attack, Oz !" with a very convincing angry voice, and the dog started growling and showing teeth, if it wasn't for the leash someone could have been hurt. We were all very surprised, my cousin first.