fixed test utilities.