Fix minor issues with controller tests for admin panel