Add test for bugs endpoint.