added console debug test