update spec tests for department and user