fix failing test and reformat whitespace
Merge pull request #2 from patbl/master

fix failing test and reformat whitespace