modified:   tests/tests.js to add chain tests for at() and compact()