remove console.log from test

...cluttering the console.log output looks bad and can be avoided using methods
like this.
Merge pull request #701 from ryanxcharles/bug/remove-console-log-from-tests

remove console.log from test
fix karma tests
Merge pull request #707 from maraoz/fix/karma-tests

fix karma tests
Add validation and tests for spendUnconfirmed = false