add tests for state.py
add tests for state.py

himacro/Vintageous,xushuwei202/Vintageous,himacro/Vintageous,vastcharade/Vintageous,xushuwei202/Vintageous,wbcustc/Vintageous,gerardroche/Vintageous,denim2x/Vintageous,guillermooo-forks/Vintageous,zhangtuoparis13/Vintageous,xushuwei202/Vintageous,denim2x/Vintageous,guillermooo-forks/Vintageous,vastcharade/Vintageous,wbcustc/Vintageous,zhangtuoparis13/Vintageous,zhangtuoparis13/Vintageous,guillermooo-forks/Vintageous,wbcustc/Vintageous,denim2x/Vintageous,himacro/Vintageous