Unified a test routine.