etcdserver: add TestDoBadLocalAction

#1019