Added some whitespace for readability. Fixed some typos in the tests.