(refs #74)Small fix for test hook.