Dogs tested to see if they’d protect their owners in danger.