Test Cases for Model and Controller