Added test for API docs.