added testmode default values
few changes