This study done by jointly by University of Amsterdam, Jacobs University Breman, and University of Groningen analyzes the influence of feelings related to romance and sex on creative and analytical capabilities.
The study proves that thinking about romance increases long term focus and improves creativity. The reasoning given is that that when in love, people typically focus on a long-term perspective, which enhances holistic thinking and thereby creative thought.
On the other hand while thinking of sex boosts up your analytical capabilities. While thinking of sex the focus is totally on what is there right now (short term focus), resulting in better analytical capabilities.
So, while going for an analytical test -you know what should you be thinking about. BTW, now I fully understand why all engineers are good at analytics!