Implemented unit tests for Departments class