added console log to test