Improve readability of test.js

Broke some lines to stay within the 80 char limit. Line 51 was especially critical in that sense.