Reformat tests

Closes #34.
Merge pull request #37 from mathiasbynens/reformat-tests

Reformat tests