fix: a typo in the controller
chore(tests): add missing spec for the controller