added console polyfill to the tests