I was using cup head's key tester and got banned from bnet.
Battle.net will unban you once if your ip banned i suggest while testing keys to either use sockscap or you can easily test them or go onto like asia if it supports that
Using an invalid CD-key will get you banned.