fixed test bug, now uses HRD