Adding testmode for accounts