add controller test

- [ ] add controller test