department classes unit test