Removed unnecessary console.error statements

Fixes #27

h/t Sebmaster for pointing this out
Merge pull request #26 from Sebmaster/feature-tests

Implement tests