Do not use `state`
Fix tests
Change to test by multi workers