I tried holding down "d" for the hardware test and it didn't not work. Then I tried holding option and "d" and I got a window called Internet Recovery. I tried entering in my network's name and password and it didn't work. I tried three times until it froze and I had to shut down my Mac. I am on an early 2011 MacBook Pro i5 8gb of ram running Mountain Lion.