written fairly terse tests with underscore.js