More Test cases on controller