He didn't "test some limits". He did what most people interested in computers have done at one point. Connect to a network you aren't supposed to connect to and download something you aren't supposed to download.
That's outside the limit of legal behavior. He's not saying it was the worst thing ever, just that Swartz's actions crossed the threshold between legal and illegal.