included support for TESTED flag to avoid re running code when executed again