refactor post controller tests in employees, locations, and departments