Add unit test for the browse controller