Added Travis-CI badge
Re-wrote test suite

It uses Mocha now for better reports and actually fails when something wrong.