Test mode added.