Hardware
If you don't own it, I would recommend purchasing the 37 in 1 sensor kit from Amazon. It's a great kit, and makes testing sensors a hell of a lot easier.
Arduino Nano328 Arduino Uno R3 Arduino Mega2560
1xLED 1xPhotoresistor 1xServo 1xLaser