testMode fixed