update tests from last changes, global var