Fix and update test suite/tools

Fixed buggy test configuration, and updated the sinon and buster assertion stuff.