Remove unused variables
Tests for admin controller