Add test for list controller and add class to build test routes