fixed emtpy li class and restructured controller tests