refine test
rename StateContainer to StateManager