Remove unecessary exception declaration
Add method to get a full test coverage on enum class