Integrating tests from upstream that the merge seem to have dropped.
Tests for the API index view.