Tests for api homepage and api database page