Tests and code for information endpoint.