Arduino Micro Windows XP serial communication not working

I also tested your sketch on my Arduinoi Micro and it ran fine, with the LED blinking and "test" displayed on the serial monitor every two seconds.