deconstructor: check for frontier before length

This change also adds a `test/mocha.opts` configuration file allowing all tests to pass by default and removes legacy SSA.js test names.