Added various testmodes.