Added console log to the test