testing the department output