Feature/no spec warnings


Avoid printing out stuff while in the tests. 
Printing unrelated messages is very distracting, this PR solves this by moving puts to logging , and the level of logging to error.

I've also deleted a spec that apart from messing up with the logger did not really test anything and was messing with the logger.