Added test for connection.destroy

I'm really crappy at figuring out where tests go, so this might need to be changed