should create department with valid params