Simplify AMD checks in test/test.js.
Ensure `_.first`, `_.initial`, `_.last`, and `_.rest` work with string and objects for `callback`.