Added unit test for api docs controller