Integration tests + unit tests controller + error handling