(refs #453)Fix "Test Hook" behavior