Improve controller test coverage

Made some improvements removing unused code & adding tests for controllers, thanks to `Devel::Cover` results.