Switch from Whiskey to Mocha for unit testing.

Closes #4.
Reindent with a tab width of 2 spaces.

Also add some discretionary braces around single-line if-statements.