Replacing test mode.