update tests state