Fix and fixture for issue #16
disabled debugging
simplified console.log's for better understanding
Merge pull request #17 from solvver/master

Fix and fixture for issue #16