I found a bug with poison types and toxic:
https://play.pokemonshowdown.com/battle-gen71v1-915694876
Even with normal dig, toxic still missed even though the description says that poison types never miss it.
DaWoblefet edit: replay link: http://replay.pokemonshowdown.com/gen71v1-915694876.