add simple state test

- add TestManager and NoopService