Fix test on Unix. Refs #6309