Fixed gtest not compiling on OS X 10.9.
Typo.
Tidy up test.