Add controller and its tests.