Resolves issue #264

The solution is to simply pass an instance of console to the method invocation.