Tests and methods for most of the resource types.